﻿using System.Collections.Generic;

namespace JNPF.Basics.Models.WorkFlow.Model
{
    public class ConfigModel
    {
        public string label { get; set; }
        public string labelWidth { get; set; }
        public bool showLabel { get; set; }
        public bool changeTag { get; set; }
        public bool border { get; set; }
        public string tag { get; set; }
        public string tagIcon { get; set; }
        public bool required { get; set; }
        public string layout { get; set; }
        public string dataType { get; set; }
        public int? span { get; set; }
        public string jnpfKey { get; set; }
        public string dictionaryType { get; set; }
        public int? formId { get; set; }
        public long? renderKey { get; set; }
        public List<RegListModel> regList { get; set; }
        public object defaultValue { get; set; }
        //判断defaultValue类型
        public string valueType { get; set; }
        public string propsUrl { get; set; }
        public string optionType { get; set; }
        public ConfigPropsModel props { get; set; }
        //子表添加字段
        public string showTitle { get; set; }
        public string tableName { get; set; }
        public List<FieldsModel> children { get; set; }
        //单据规则使用
        public string rule { get; set; }
        //隐藏
        public bool noShow { get; set; } = false;
    }
}
